<!DOCTYPE html>
<html lang=en>
<head>
    <!-- so meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="HandheldFriendly" content="True">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <meta name="description" content="Step1. 安装运行时首先去微软官方下载镜像 sudo wget https:&#x2F;&#x2F;download.visualstudio.microsoft.com&#x2F;download&#x2F;pr&#x2F;87521bd8-1522-4141-9532-91d580292c42&#x2F;59116d9f6ebced4fdc8b76b9e3bbabbf&#x2F;dotnet-runtime-2.2.5-linux-arm.tar.gz su">
<meta property="og:type" content="article">
<meta property="og:title" content="树莓派安装nsp客户端配置">
<meta property="og:url" content="http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/index.html">
<meta property="og:site_name" content="TmoonSite">
<meta property="og:description" content="Step1. 安装运行时首先去微软官方下载镜像 sudo wget https:&#x2F;&#x2F;download.visualstudio.microsoft.com&#x2F;download&#x2F;pr&#x2F;87521bd8-1522-4141-9532-91d580292c42&#x2F;59116d9f6ebced4fdc8b76b9e3bbabbf&#x2F;dotnet-runtime-2.2.5-linux-arm.tar.gz su">
<meta property="og:locale" content="en_US">
<meta property="article:published_time" content="2014-05-15T11:06:58.000Z">
<meta property="article:modified_time" content="2020-01-07T10:48:15.012Z">
<meta property="article:author" content="Tmoonlight">
<meta name="twitter:card" content="summary">
    
    
        
          
              <link rel="shortcut icon" href="/images/favicon.ico">
          
        
        
          
            <link rel="icon" type="image/png" href="/images/logo2.gif" sizes="192x192">
          
        
        
          
            <link rel="apple-touch-icon" sizes="180x180" href="/images/logo2.gif">
          
        
    
    <!-- title -->
    <title>树莓派安装nsp客户端配置</title>
    <!-- styles -->
    
<link rel="stylesheet" href="/css/style.css">

    <!-- persian styles -->
    
      
<link rel="stylesheet" href="/css/rtl.css">

    
    <!-- rss -->
    
    
<meta name="generator" content="Hexo 4.2.0"></head>

<body class="max-width mx-auto px3 ltr">
    
      <div id="header-post">
  <a id="menu-icon" href="#"><i class="fas fa-bars fa-lg"></i></a>
  <a id="menu-icon-tablet" href="#"><i class="fas fa-bars fa-lg"></i></a>
  <a id="top-icon-tablet" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');" style="display:none;"><i class="fas fa-chevron-up fa-lg"></i></a>
  <span id="menu">
    <span id="nav">
      <ul>
         
          <li><a href="/">Home</a></li>
         
          <li><a href="/about/">About</a></li>
         
          <li><a href="/archives/">Writing</a></li>
         
          <li><a href="/projects_url">Projects</a></li>
        
      </ul>
    </span>
    <br/>
    <span id="actions">
      <ul>
        
        <li><a class="icon" href="/2014/05/22/windows%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/"><i class="fas fa-chevron-left" aria-hidden="true" onmouseover="$('#i-prev').toggle();" onmouseout="$('#i-prev').toggle();"></i></a></li>
        
        
        <li><a class="icon" href="/2014/05/14/toomanyfiles%E8%A7%A3%E5%86%B3/"><i class="fas fa-chevron-right" aria-hidden="true" onmouseover="$('#i-next').toggle();" onmouseout="$('#i-next').toggle();"></i></a></li>
        
        <li><a class="icon" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');"><i class="fas fa-chevron-up" aria-hidden="true" onmouseover="$('#i-top').toggle();" onmouseout="$('#i-top').toggle();"></i></a></li>
        <li><a class="icon" href="#"><i class="fas fa-share-alt" aria-hidden="true" onmouseover="$('#i-share').toggle();" onmouseout="$('#i-share').toggle();" onclick="$('#share').toggle();return false;"></i></a></li>
      </ul>
      <span id="i-prev" class="info" style="display:none;">Previous post</span>
      <span id="i-next" class="info" style="display:none;">Next post</span>
      <span id="i-top" class="info" style="display:none;">Back to top</span>
      <span id="i-share" class="info" style="display:none;">Share post</span>
    </span>
    <br/>
    <div id="share" style="display: none">
      <ul>
  <li><a class="icon" href="http://www.facebook.com/sharer.php?u=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/" target="_blank" rel="noopener"><i class="fab fa-facebook " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://twitter.com/share?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&text=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-twitter " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.linkedin.com/shareArticle?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-linkedin " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://pinterest.com/pin/create/bookmarklet/?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&is_video=false&description=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-pinterest " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="mailto:?subject=树莓派安装nsp客户端配置&body=Check out this article: http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/"><i class="fas fa-envelope " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://getpocket.com/save?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-get-pocket " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://reddit.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-reddit " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.stumbleupon.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-stumbleupon " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://digg.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-digg " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.tumblr.com/share/link?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&name=树莓派安装nsp客户端配置&description=" target="_blank" rel="noopener"><i class="fab fa-tumblr " aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://news.ycombinator.com/submitlink?u=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&t=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-hacker-news " aria-hidden="true"></i></a></li>
</ul>

    </div>
    <div id="toc">
      <ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#Step1-安装运行时"><span class="toc-number">1.</span> <span class="toc-text">Step1. 安装运行时</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Step2-下载和安装程序（客户端）"><span class="toc-number">2.</span> <span class="toc-text">Step2. 下载和安装程序（客户端）</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Step3-配置和运行程序（客户端）"><span class="toc-number">3.</span> <span class="toc-text">Step3. 配置和运行程序（客户端）</span></a></li></ol>
    </div>
  </span>
</div>

    
    <div class="content index py4">
        
        <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
  <header>
    
    <h1 class="posttitle" itemprop="name headline">
        树莓派安装nsp客户端配置
    </h1>



    <div class="meta">
      <span class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
        <span itemprop="name">TmoonSite</span>
      </span>
      
    <div class="postdate">
      
        <time datetime="2014-05-15T11:06:58.000Z" itemprop="datePublished">2014-05-15</time>
        
      
    </div>


      

      

    </div>
  </header>
  

  <div class="content" itemprop="articleBody">
    <h4 id="Step1-安装运行时"><a href="#Step1-安装运行时" class="headerlink" title="Step1. 安装运行时"></a>Step1. 安装运行时</h4><p>首先去微软官方下载镜像</p>
<pre><code>sudo wget https://download.visualstudio.microsoft.com/download/pr/87521bd8-1522-4141-9532-91d580292c42/59116d9f6ebced4fdc8b76b9e3bbabbf/dotnet-runtime-2.2.5-linux-arm.tar.gz
sudo mkdir -p /usr/share/dotnet &amp;&amp; sudo tar zxf dotnet-runtime-2.2.5-linux-arm.tar.gz -C /usr/share/dotnet
sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet</code></pre><p>安装过程无报错，运行以下指令查看dotne版本号，大于2.2即可</p>
<pre><code>sudo dotnet -version</code></pre><h4 id="Step2-下载和安装程序（客户端）"><a href="#Step2-下载和安装程序（客户端）" class="headerlink" title="Step2. 下载和安装程序（客户端）"></a>Step2. 下载和安装程序（客户端）</h4><pre><code>mkdir nspclient
cd nspclient
sudo wget https://github.com/tmoonlight/NSmartProxy/files/3342627/nspclient_v0.9.zip
sudo unzip nspclient_v0.9.zip</code></pre><h4 id="Step3-配置和运行程序（客户端）"><a href="#Step3-配置和运行程序（客户端）" class="headerlink" title="Step3. 配置和运行程序（客户端）"></a>Step3. 配置和运行程序（客户端）</h4><p>按照下图来配置客户端的映射规则  </p>
<pre><code>sudo dotnet NSmartProxyClient.dll</code></pre><ul>
<li>P.S：新的版本对配置文件进行了简化，已经去除反向连接端口和配置端口的配置，只需要配置web端口即可。</li>
</ul>
<p>%0A%23%23%23%23%20Step1.%20%E5%AE%89%E8%A3%85%E8%BF%90%E8%A1%8C%E6%97%B6%0A%E9%A6%96%E5%85%88%E5%8E%BB%E5%BE%AE%E8%BD%AF%E5%AE%98%E6%96%B9%E4%B8%8B%E8%BD%BD%E9%95%9C%E5%83%8F%0A%60%60%60%0Asudo%20wget%20https%3A%2F%2Fdownload.visualstudio.microsoft.com%2Fdownload%2Fpr%2F87521bd8-1522-4141-9532-91d580292c42%2F59116d9f6ebced4fdc8b76b9e3bbabbf%2Fdotnet-runtime-2.2.5-linux-arm.tar.gz%0Asudo%20mkdir%20-p%20%2Fusr%2Fshare%2Fdotnet%20%26%26%20sudo%20tar%20zxf%20dotnet-runtime-2.2.5-linux-arm.tar.gz%20-C%20%2Fusr%2Fshare%2Fdotnet%0Asudo%20ln%20-s%20%2Fusr%2Fshare%2Fdotnet%2Fdotnet%20%2Fusr%2Fbin%2Fdotnet%0A%60%60%60%0A%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E6%97%A0%E6%8A%A5%E9%94%99%EF%BC%8C%E8%BF%90%E8%A1%8C%E4%BB%A5%E4%B8%8B%E6%8C%87%E4%BB%A4%E6%9F%A5%E7%9C%8Bdotne%E7%89%88%E6%9C%AC%E5%8F%B7%EF%BC%8C%E5%A4%A7%E4%BA%8E2.2%E5%8D%B3%E5%8F%AF%0A%60%60%60%0Asudo%20dotnet%20-version%0A%60%60%60%0A%0A!%5B8ab9dda2cc67d53a21b6f273329333a1.gif%5D(en-resource%3A%2F%2Fdatabase%2F1200%3A1)%0A%23%23%23%23%20Step2.%20%E4%B8%8B%E8%BD%BD%E5%92%8C%E5%AE%89%E8%A3%85%E7%A8%8B%E5%BA%8F%EF%BC%88%E5%AE%A2%E6%88%B7%E7%AB%AF%EF%BC%89%0A%60%60%60%0Amkdir%20nspclient%0Acd%20nspclient%0Asudo%20wget%20https%3A%2F%2Fgithub.com%2Ftmoonlight%2FNSmartProxy%2Ffiles%2F3342627%2Fnspclient_v0.9.zip%0Asudo%20unzip%20nspclient_v0.9.zip%0A%60%60%60%0A!%5B0c3db4bacc40b464b240c5d0f65692a0.gif%5D(en-resource%3A%2F%2Fdatabase%2F1204%3A0)%0A%0A%23%23%23%23%20Step3.%20%E9%85%8D%E7%BD%AE%E5%92%8C%E8%BF%90%E8%A1%8C%E7%A8%8B%E5%BA%8F%EF%BC%88%E5%AE%A2%E6%88%B7%E7%AB%AF%EF%BC%89%0A%E6%8C%89%E7%85%A7%E4%B8%8B%E5%9B%BE%E6%9D%A5%E9%85%8D%E7%BD%AE%E5%AE%A2%E6%88%B7%E7%AB%AF%E7%9A%84%E6%98%A0%E5%B0%84%E8%A7%84%E5%88%99%0A!%5B6ec662c0b59f3fea5d6f506bd666bdd8.gif%5D(en-resource%3A%2F%2Fdatabase%2F1208%3A0)%0A%0A%60%60%60%0Asudo%20dotnet%20NSmartProxyClient.dll%0A%60%60%60%0A%0A!%5B332e846c7ea9d33e3c34c6bb478bb214.gif%5D(en-resource%3A%2F%2Fdatabase%2F1210%3A0)%0A%0A%20*%20P.S%EF%BC%9A%E6%96%B0%E7%9A%84%E7%89%88%E6%9C%AC%E5%AF%B9%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E8%BF%9B%E8%A1%8C%E4%BA%86%E7%AE%80%E5%8C%96%EF%BC%8C%E5%B7%B2%E7%BB%8F%E5%8E%BB%E9%99%A4%E5%8F%8D%E5%90%91%E8%BF%9E%E6%8E%A5%E7%AB%AF%E5%8F%A3%E5%92%8C%E9%85%8D%E7%BD%AE%E7%AB%AF%E5%8F%A3%E7%9A%84%E9%85%8D%E7%BD%AE%EF%BC%8C%E5%8F%AA%E9%9C%80%E8%A6%81%E9%85%8D%E7%BD%AEweb%E7%AB%AF%E5%8F%A3%E5%8D%B3%E5%8F%AF%E3%80%82%0A%0A%0A%0A%0A%0A%0A</p>

  </div>
</article>



        
          <div id="footer-post-container">
  <div id="footer-post">

    <div id="nav-footer" style="display: none">
      <ul>
         
          <li><a href="/">Home</a></li>
         
          <li><a href="/about/">About</a></li>
         
          <li><a href="/archives/">Writing</a></li>
         
          <li><a href="/projects_url">Projects</a></li>
        
      </ul>
    </div>

    <div id="toc-footer" style="display: none">
      <ol class="toc"><li class="toc-item toc-level-4"><a class="toc-link" href="#Step1-安装运行时"><span class="toc-number">1.</span> <span class="toc-text">Step1. 安装运行时</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Step2-下载和安装程序（客户端）"><span class="toc-number">2.</span> <span class="toc-text">Step2. 下载和安装程序（客户端）</span></a></li><li class="toc-item toc-level-4"><a class="toc-link" href="#Step3-配置和运行程序（客户端）"><span class="toc-number">3.</span> <span class="toc-text">Step3. 配置和运行程序（客户端）</span></a></li></ol>
    </div>

    <div id="share-footer" style="display: none">
      <ul>
  <li><a class="icon" href="http://www.facebook.com/sharer.php?u=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/" target="_blank" rel="noopener"><i class="fab fa-facebook fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://twitter.com/share?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&text=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.linkedin.com/shareArticle?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://pinterest.com/pin/create/bookmarklet/?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&is_video=false&description=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-pinterest fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="mailto:?subject=树莓派安装nsp客户端配置&body=Check out this article: http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/"><i class="fas fa-envelope fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://getpocket.com/save?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-get-pocket fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://reddit.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-reddit fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.stumbleupon.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-stumbleupon fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://digg.com/submit?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&title=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-digg fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="http://www.tumblr.com/share/link?url=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&name=树莓派安装nsp客户端配置&description=" target="_blank" rel="noopener"><i class="fab fa-tumblr fa-lg" aria-hidden="true"></i></a></li>
  <li><a class="icon" href="https://news.ycombinator.com/submitlink?u=http://yoursite.com/2014/05/15/%E6%A0%91%E8%8E%93%E6%B4%BE%E5%AE%89%E8%A3%85nsp%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%85%8D%E7%BD%AE/&t=树莓派安装nsp客户端配置" target="_blank" rel="noopener"><i class="fab fa-hacker-news fa-lg" aria-hidden="true"></i></a></li>
</ul>

    </div>

    <div id="actions-footer">
        <a id="menu" class="icon" href="#" onclick="$('#nav-footer').toggle();return false;"><i class="fas fa-bars fa-lg" aria-hidden="true"></i> Menu</a>
        <a id="toc" class="icon" href="#" onclick="$('#toc-footer').toggle();return false;"><i class="fas fa-list fa-lg" aria-hidden="true"></i> TOC</a>
        <a id="share" class="icon" href="#" onclick="$('#share-footer').toggle();return false;"><i class="fas fa-share-alt fa-lg" aria-hidden="true"></i> Share</a>
        <a id="top" style="display:none" class="icon" href="#" onclick="$('html, body').animate({ scrollTop: 0 }, 'fast');"><i class="fas fa-chevron-up fa-lg" aria-hidden="true"></i> Top</a>
    </div>

  </div>
</div>

        
        <footer id="footer">
  <div class="footer-left">
    Copyright &copy; 2020 Tmoonlight
  </div>
  <div class="footer-right">
    <nav>
      <ul>
         
          <li><a href="/">Home</a></li>
         
          <li><a href="/about/">About</a></li>
         
          <li><a href="/archives/">Writing</a></li>
         
          <li><a href="/projects_url">Projects</a></li>
        
      </ul>
    </nav>
  </div>
</footer>

    </div>
    <!-- styles -->

<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">


<link rel="stylesheet" href="/lib/justified-gallery/css/justifiedGallery.min.css">


    <!-- jquery -->

<script src="/lib/jquery/jquery.min.js"></script>


<script src="/lib/justified-gallery/js/jquery.justifiedGallery.min.js"></script>

<!-- clipboard -->

  
<script src="/lib/clipboard/clipboard.min.js"></script>

  <script type="text/javascript">
  $(function() {
    // copy-btn HTML
    var btn = "<span class=\"btn-copy tooltipped tooltipped-sw\" aria-label=\"Copy to clipboard!\">";
    btn += '<i class="far fa-clone"></i>';
    btn += '</span>'; 
    // mount it!
    $(".highlight table").before(btn);
    var clip = new ClipboardJS('.btn-copy', {
      text: function(trigger) {
        return Array.from(trigger.nextElementSibling.querySelectorAll('.code')).reduce((str,it)=>str+it.innerText+'\n','')
      }
    });
    clip.on('success', function(e) {
      e.trigger.setAttribute('aria-label', "Copied!");
      e.clearSelection();
    })
  })
  </script>


<script src="/js/main.js"></script>

<!-- search -->

<!-- Google Analytics -->

<!-- Baidu Analytics -->

<!-- Disqus Comments -->


</body>
</html>
